package com.suny.DataDicVal.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Schema(name = "DataDIcValUpdateStatusDTO",description = "修改数据字典码值状态DTO")
@Data
public class DataDIcValUpdateStatusDTO {
    @NotNull(message = "码值编号不能为空")
    @Schema(name = "valId",description = "码值编号")
    private Integer valId;
    @NotNull(message = "状态不能为空")
    @Schema(name = "status",description = "状态(0=停用,1=启用)")
    private Integer status;
}
